package com.xiaobange.dto;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

/**
 * @version 1.0
 * @Author 小班哥
 * @Date 2025/5/6 13:36
 * @Explain 前端提交的分页参数
 */
@Getter
@Setter
public class UserPage {
    @Min(value = 1,message = "当前页最小值不能小于0")
    private int current;
    @Min(value = 1,message = "分页最小值不能小于0")
    private int size;
    private String username;
    private String role;
}
